package com.endoc.lib.s03


fun show01(login :Boolean,loginMethod:()->Char){
    loginMethod()
}

fun show(login :Boolean,loginMethod:(Boolean)->Char){
    loginMethod(true)
}

fun main() {

    show01(true) {
        'A'
    }

    show(true){
        println(it)
        'A'
    }

}